package com.hwl.demo3.component;

import com.hwl.demo3.service.ISale;

/**
 * 最基本的功能实现
 * 正常收费，原价返回
 *
 * @author sentry
 * @since 2023-02-28
 */
public class CashNormal implements ISale {

    @Override
    public double acceptCash(double price, int num) {
        return price * num;
    }
}
